package com.rt.easyjava.base.biz1.dto;


import com.rt.easyjava.common.base.CommonDto;
import io.swagger.annotations.ApiModel;
import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author wuxiaoyong
 * @since 2020-05-01
 */

@ApiModel(description = "TmptDataDto传输对象")
@Data
@ToString
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TmptDataDto extends CommonDto implements Serializable{

    private static final long serialVersionUID = 1L;

    private Long companyId;
        private Long id;
        private String columnName;
    private String description;
 // 1: enums, 2: sql, 3, page
    private Object deleteflag; // 枚举，通过dozer转换:  当bean->dto时, 放入json对象 如{'id':1, 'name':'无效'}； 当dto->bean时, object->Integer
    private String createdate;
    private String createman;
    private String modifydate;
    private String modifyman;
    private Long createmanId;
        private Long modifymanId;

    // One to Many
    // 关联对象： dozer 自动进行深度映射
    private List<TmptDataOptionDto> tmptDataOptionList;

    //----------------------------------------
    // 与页面交互时的参数
    //----------------------------------------
    private String createdate_Start;
    private String createdate_End;
    private String modifydate_Start;
    private String modifydate_End;
}
